package com.smart_campus.bus.service;

import com.smart_campus.bus.domain.Building;
import com.smart_campus.bus.vo.BuildingVo;
import com.smart_campus.sys.common.DataGridView;

import java.util.List;

/**
 * @author Alfred
 * @time: 2020/6/20 10:31
 * 
 */
public interface BuildingService{


    int deleteByPrimaryKey(Integer id);

    Building insert(Building record);

    Building insertSelective(Building record);

    Building selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Building record);

    int updateByPrimaryKey(Building record);

    DataGridView queryBuilding(BuildingVo buildingVo);

    List<Building> selall();
}
